<?php
require('../conf/ajax.top.php');
$rub_controller = new RubriqueController();


if(isset($_POST['new_rub'])){   
    $rub_controller->action_ajoutRubrique($_POST['new_rub']);   
}
          
if(isset($_POST['id'])){
    $rub_controller->action_deleteRubrique($_POST['id']);     
}
?>
